<template>
  <div class="secure-settings">
    <div class="top-title">安全设置</div>
    <div class="check-box">
      <div class="checkbox-item">
        <el-checkbox v-model="checked1" label="密码策略" size="large" />
        <el-switch v-model="value1" class="switch-item" />
      </div>
      <div class="checkbox-item">
        <el-checkbox v-model="checked2" label="登录限制 开关" size="large" />
      </div>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue'

const checked1 = ref(false)
const checked2 = ref(false)
const value1 = ref(false)
</script>

<style scoped lang="scss">
.secure-settings {
  background-color: white;
  padding: 20px;
width: 100%;
  .top-title {
    font-size: 20px;
    font-weight: 700;
  }

  .check-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .checkbox-item {
    display: flex;
    align-items: center;
  }

  .switch-item {
    margin-left: 12px;
  }
}
</style>
